package com.jieshuibao.mapper;

import com.jieshuibao.model.db.Advisory;
import com.jieshuibao.model.db.AdvisoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AdvisoryMapper {
    int countByExample(AdvisoryExample example);

    int deleteByExample(AdvisoryExample example);

    int deleteByPrimaryKey(String uuid);

    int insert(Advisory record);

    int insertSelective(Advisory record);

    List<Advisory> selectByExample(AdvisoryExample example);

    Advisory selectByPrimaryKey(String uuid);

    int updateByExampleSelective(@Param("record") Advisory record, @Param("example") AdvisoryExample example);

    int updateByExample(@Param("record") Advisory record, @Param("example") AdvisoryExample example);

    int updateByPrimaryKeySelective(Advisory record);

    int updateByPrimaryKey(Advisory record);

    List<Advisory> selectPage(AdvisoryExample example);
}